home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
biz
/
patch
/
fixtb.lha
/
Read.Me
< prev
next >
Wrap
Text File
|
1996-11-16
|
3KB
|
73 lines
Notice:
These files are provided with no warranty of any kind, either express or
implied. Use them at you own risk. You are free to use and distribute
them to your heart's content; they are public domain.
Overview:
These are tools that you can use to change the width of the PageStream 3.1
toolbar to 640 pixels.
File contents:
FILE DESCRIPTION
FixToolBar.rexx Script used for invoking tbsizer
tbsizer Program that reduces the toolbar width
tbsizer.ASM Source for tbsizer
PGS3 Rexx program to start PageStream and fix the toolbar
PGS3.info Icon for PGS3
Installation:
Copy tbsizer to your C: directory, or elsewhere in your CLI search path.
Copy FixToolBar.rexx to your PageStream3:Scripts directory.
Copy PGS3.info to the directory of your choice.
Copy PGS3 to your REXX: directory or to same directory as PGS3.info.
Instructions:
Doubleclick on the PGS3 icon.
After PageStream 3.1 has been initialised, you can execute FixToolBar as an
external script.
Note:
Do not run tbsizer from Workbench (i.e. with an icon of its own). It was
not written for that, and it would crash your system.
Since you asked:
The tbsizer program locates the toolbar window by threading through
Intuition structures. It starts with the first window on the active screen
and keeps looking until it finds a window located at 0,11 that is 20 pixels
high. It then subtracts the window width from 640 and calls the SizeWindow
function to make the window narrower by adding the negative result to the
window width. If it can't find the toolbar window, it just ends. Any
subsequent execution will have no effect.
I wrote tbsizer with an ancient copy of AssemPro, and tested it under WB3.1
with PageStream 3.1 running on the Workbench screen and on its own screen.
I wrote PGS3 because adding 'STARTUP PageStream3:Scripts/FixToolBar.rexx'
to PageStream3.prefs didn't work; it appeared that the script was being
run before the toolbar window was opened. Similarly, getting PageStream to
execute FixToolBar (rather than just running tbsizer from PGS3) ensures
that the toolbar window will be opened before tbsizer is invoked.
I wrote all this stuff because I use PageStream 3.1 on a Workbench screen
that is 1140 pixels wide, and I wasn't happy with the toolbar extending
the full width of the screen.
Michael Tanzer
mtanzer@netspace.net.au
16 November 1996